package com.joint.web.action.mp;

import com.joint.base.entity.module.Resume;
import com.joint.core.service.common.ResumeBeanService;
import com.joint.web.action.BaseAdminAction;
import org.apache.commons.lang3.StringUtils;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by hpj on 2015/5/11.
 */
public class AjaxResumeAction extends BaseAdminAction {

    @Resource
    private ResumeBeanService resumeBeanService;

    private List<Resume> listResume;

    public String list(){

        if(StringUtils.isNotEmpty(keyId)){
            listResume = resumeBeanService.getTargetResumeList(keyId);

        }
        return "list";
    }

    public List<Resume> getListResume() {
        return listResume;
    }

    public void setListResume(List<Resume> listResume) {
        this.listResume = listResume;
    }
}
